import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type RoleMenuDto } from "../../interface";

/**
 * /sys/role/menu/edit
 */
export function postSysRoleMenuEdit(input: RoleMenuDto, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<any>>(`/sys/role/menu/edit`, input, config);
}
